<?php
namespace app\car\model;
use think\Model;
use think\Db;

class Banner extends Model
{
    public function getBanner()
    {
        $result = Db::table("car_banner")->order("id desc")->find();
        $result['images'] = unserialize($result['images']);
        return $result;
    }
}